package transformation;

import hulppakket.Vector3f;
import hulppakket.Vector4f;

public class Translation extends Matrix4f {

	private static final long serialVersionUID = -5574840039367080216L;

	public Translation(Vector3f vector) {
		super();
		this.setIdentity();
		Vector4f translation = new Vector4f(vector.x, vector.y, vector.z, 1);
		this.setColumn(3, translation);
	}
}
